package tables;

public class Autorisation implements Tables_SUPER {

	private int id_groupeBat;
	private int id_groupePers;
	private String libelle_plage_acces;
	
	public Autorisation(int id_groupeBat, int id_groupePers,
			String libelle_plage_acces) {
		this.id_groupeBat = id_groupeBat;
		this.id_groupePers = id_groupePers;
		this.libelle_plage_acces = libelle_plage_acces;
	}
	
	@Override
	public String insert() {
		return "INSERT INTO AUTORISATION VALUES("+id_groupeBat+","+id_groupePers+",'"+libelle_plage_acces+"')";
	}
	@Override
	public String update() {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public String delete() {
		// TODO Auto-generated method stub
		return null;
	}

	//getter & setter
	public int getId_groupeBat() {
		return id_groupeBat;
	}

	public void setId_groupeBat(int id_groupeBat) {
		this.id_groupeBat = id_groupeBat;
	}

	public int getId_groupePers() {
		return id_groupePers;
	}

	public void setId_groupePers(int id_groupePers) {
		this.id_groupePers = id_groupePers;
	}

	public String getLibelle_plage_acces() {
		return libelle_plage_acces;
	}

	public void setLibelle_plage_acces(String libelle_plage_acces) {
		this.libelle_plage_acces = libelle_plage_acces;
	}
	

}
